mkdir -p build_osx && cd build_osx
cmake -GXcode ../
cd ..
cmake -DDEMO=OFF build_osx
cmake --build build_osx --config Release
mkdir -p Plugins/xlua.bundle/Contents/MacOS/
cp build_osx/Release/xlua.bundle/Contents/MacOS/xlua Plugins/xlua.bundle/Contents/MacOS/xlua
